package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商城订单明细对象 jiajia_mail_order_detail
 * 
 * @author ruoyi
 * @date 2025-03-05
 */
public class JiajiaMailOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long uId;

    /** 产品id */
    @Excel(name = "产品id")
    private Long productId;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long productNum;

    /** 产品单价 */
    @Excel(name = "产品单价")
    private BigDecimal productPrice;

    /** 产品总价 */
    @Excel(name = "产品总价")
    private BigDecimal productTotalPrice;

    /** 是否退款 */
    @Excel(name = "是否退款")
    private String refund;

    /** 退款单号 */
    @Excel(name = "退款单号")
    private String refundId;

    /** 是否售后 */
    @Excel(name = "是否售后")
    private String salesAfter;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductNum(Long productNum) 
    {
        this.productNum = productNum;
    }

    public Long getProductNum() 
    {
        return productNum;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductTotalPrice(BigDecimal productTotalPrice) 
    {
        this.productTotalPrice = productTotalPrice;
    }

    public BigDecimal getProductTotalPrice() 
    {
        return productTotalPrice;
    }
    public void setRefund(String refund) 
    {
        this.refund = refund;
    }

    public String getRefund() 
    {
        return refund;
    }
    public void setRefundId(String refundId) 
    {
        this.refundId = refundId;
    }

    public String getRefundId() 
    {
        return refundId;
    }
    public void setSalesAfter(String salesAfter) 
    {
        this.salesAfter = salesAfter;
    }

    public String getSalesAfter() 
    {
        return salesAfter;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public Long getuId() {
        return uId;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("shopId", getShopId())
            .append("productId", getProductId())
            .append("productNum", getProductNum())
            .append("productPrice", getProductPrice())
            .append("productTotalPrice", getProductTotalPrice())
            .append("refund", getRefund())
            .append("refundId", getRefundId())
            .append("salesAfter", getSalesAfter())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
